<template>
    <div id="box">
        <div class="Items">
            <div v-for="(i,index) in imgArray"  class="item" :key="index">
                <img :src="imgArray[index]"/>
            </div>
        </div>
    </div>
</template>

<script>
export default {
  name: '',
  data () {
    return {
      msg: '',
      imgArray:[
            require('../../src/assets/00lnnkt5y4o.jpg'),
            require('../../src/assets/0ae683d340afc94b61c10cdc5a0aac07.jpg'),
            require('../../src/assets/0cbe9ae17a8a12fd94c0571cafa87c6a.jpg'),
            require('../../src/assets/0cemvr21luv.jpg'),
            require('../../src/assets/0ciripwu0gz.jpg'),
            require('../../src/assets/0cjeekmwmrx.jpg'),
            require('../../src/assets/0cxyzpbrltp.jpg'),
            require('../../src/assets/0d0fpw0csue.jpg'),
            require('../../src/assets/0hfvjqiealc.jpg'),]
    }
  },
  methods: {

  },
  mounted () {

  }
}
</script>

<style>
    *{
        margin: 0;
        padding: 0;
        border: 0;
    }
    #box{
        display: flex;
        justify-content: center;
    }
    .Items{
        width: 900px;
        height: 500px;
        border: 0.2em solid rgb(95, 168, 150);
        margin-top: 50px;
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
    }
    .item{
        max-width: 30%;
        max-height: 30%;
        line-height: 150px;
        border: 0.2em  solid rgb(255, 255, 255,.8);
        text-align: center;
        font-weight: bold;
        border-radius: 15px;
        overflow: hidden;
    }
    img{
        width: 100%;
        height: 100%;
    }
    .item:hover{
        box-shadow: 5px 5px 5px rgb(95, 168, 150);
    }
</style>
